'use strict'

const Koa = require('koa')
const bodyParser = require('koa-bodyparser')
const controller = require('./controllers')

const app = new Koa();
app.use(bodyParser())
app.use(controller())

const port = 3000
app.listen(port)

console.log(`http://127.0.0.1:${port}`);